package com.gjy.disruptor.uuid.newd.dis;

import io.netty.channel.ChannelHandlerContext;
import lombok.Getter;
import lombok.Setter;

/**
 * Disruptor事件，用于在环形缓冲区中传递UUID生成请求和Netty上下文。
 *
 * @author gjy
 * @version 1.0
 * @since 2025-10-11 10:20:37
 */
@Setter
@Getter
public class UuidEvent {

    private String uuid;
    private ChannelHandlerContext ctx;
    private long requestId;

    public void clear() {
        this.uuid = null;
        this.ctx = null;
        this.requestId = 0;
    }

}
